package com.lhj.bootdemo.base;

/**
 * @author lhj
 * @version 1.0
 * @date 2022/5/7 11:23 上午
 * @description: 抽象类demo
 */

public abstract class AbstractClassDemo {

    public AbstractClassDemo(String password) {
        this.password = password;
    }

    public static String username = "xiatian";

    public String password = "88888888";

    /**
     * 抽象方法测试
     */
    public abstract void index();

    /**
     * 非抽象方法测试
     *
     * @return
     */
    public String hello() {
        System.out.println("hello!!!");
        return "抽象类里面的hello方法！";
    }


}
